/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mti.javashare.dao;

import com.mti.javashare.beans.User;
import java.util.Collection;

/**
 *
 * @author Benjamin
 */
public interface IUserDao
{
    User getById(int id);
    User getByName(String name);
    Collection<User> getAll();
    void add(User user);
    void update(User user);
    void remove(User user);
}
